TenWebOptimizer\WebPageCache\OptimizerWebPageCache B

Total Complexity 96
Dependencies 3
Dependents 3
Total lines 444
Lines of code 298
Logical lines of code 197
Comment lines 29
Methods 20
Properties 8

Methods 20

Method Rating Maintainability Complexity Lines of code
delete_page_cache()
A
50 11 28
can_process_page()
A
52 10 30
get_cache_dir_for_page()
A
48 8 32
init()
A
55 8 17
__construct()
S
50 7 29
serve_cached_file()
S
51 7 25
cache_content()
S
55 7 19
request_headers()
S
55 6 18
get_cache_file_dir()
S
52 5 23
maybe_clear_cache()
S
53 5 21
get_cached_file_to_serve()
S
66 6 9
maybe_clear_all_cache()
S
70 3 6
process_page()
S
67 3 7
delete_cache_by_url()
S
66 2 8
get_config()
S
70 2 6
get_instance()
S
71 2 6
delete_all_cached_pages()
S
75 1 4
get_cache_dir_for_page_from_url()
S
74 1 4
is_home()
S
78 1 3
delete_cache_by_post_id()
S
79 1 3